package com.janyee.buddha.listener

import android.graphics.Bitmap
import android.graphics.Canvas
import com.janyee.buddha.entity.LineText
import com.janyee.buddha.entity.PageEntity
import com.janyee.buddha.view.Painter

/**
 * Created by kmlixh on 18/1/2.
 */
interface BookViewListener {
    fun onMeasureSize(width: Int, height: Int)
    fun getLineInfo(type: Int): PageEntity
    fun getPainter(): Painter
    fun getText():StringBuilder
    fun getStartBmp(): Bitmap
    fun getEndBmp(): Bitmap
    fun getLineSpacing(): Float
    fun getPadding(): Float
}